﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WorkTime.Logical
{
    /// <summary>
    /// 提交工时卡的上下文
    /// <remarks>
    /// 获取数据库中相关人员的工时卡数据，同时用于保存多张工时卡提交时临时数据
    /// </remarks>
    /// </summary>
    public class TimeCardContext
    {
        private string empId;

        /// <summary>
        /// 员工id
        /// </summary>
        public string EmpId
        {
            get { return empId; }
            set { empId = value; }
        }

        private string empName;

        /// <summary>
        /// 员工姓名
        /// </summary>
        public string EmpName
        {
            get { return empName; }
        }

        public TimeCardContext(string empId)
        {
        }

        /// <summary>
        /// 从数据库中获取某一日的员工填写工时的状况
        /// </summary>
        /// <param name="date"></param>
        public void LoadDailyWorkTimeCard(DateTime date)
        {
        }
        //private 
    }



}

